package com.newbee.listbean;

public class ChatMsgBean
{
	private static final String TAG = ChatMsgBean.class.getSimpleName();

	private int mid;

	private String name;

	private String date;

	private String text;

	private String time;

	private String head;

	private String userName;

	public String getTime()
	{
		return time;
	}

	public void setTime(String time)
	{
		this.time = time;
	}

	private boolean isComMeg = true;

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDate()
	{
		return date;
	}

	public void setDate(String date)
	{
		this.date = date;
	}

	public String getText()
	{
		return text;
	}

	public void setText(String text)
	{
		this.text = text;
	}

	public boolean getMsgType()
	{
		return isComMeg;
	}

	public void setMsgType(boolean isComMsg)
	{
		isComMeg = isComMsg;
	}

	public ChatMsgBean()
	{
	}

	public ChatMsgBean(String name, String date, String text, boolean isComMsg)
	{
		super();
		this.name = name;
		this.date = date;
		this.text = text;
		this.isComMeg = isComMsg;
	}

	public ChatMsgBean(int mid, String name, String date, String text,
			String time, boolean isComMeg)
	{
		this.mid = mid;
		this.name = name;
		this.date = date;
		this.text = text;
		this.time = time;
		this.isComMeg = isComMeg;
	}

	public ChatMsgBean(int mid, String name, String date, String text,
			String time, boolean isComMeg, String head)
	{
		this.mid = mid;
		this.name = name;
		this.date = date;
		this.text = text;
		this.time = time;
		this.isComMeg = isComMeg;
		this.head = head;
	}

	public String getHead()
	{
		return head;
	}

	public void setHead(String head)
	{
		this.head = head;
	}

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

}
